
#ifndef _SYSTEM_PARAM_H_
#define _SYSTEM_PARAM_H_


#include "stdint.h"
#include "tof050f.h"
#include "digital_LPF.h"
#include "fault_TH_detect.h"

typedef struct
{
	uint16_t device_type;
	uint16_t device_num;
	
	uint16_t cliff_threshold[TOF_DEVICE_ALL];

}STR_SYSTEM_PARAM;



extern STR_SYSTEM_PARAM systemParam;

extern STR_1ST_LPF vdcLPF;
extern STR_1ST_LPF idcLPF;
extern STR_1ST_LPF vdcMotorLPF;
extern STR_1ST_LPF idcMotorLPF;
extern STR_1ST_LPF idcCleanLPF;
extern STR_1ST_LPF idcServiceLPF;



extern STR_FLT_DIAG vdcOCP;
extern STR_FLT_DIAG vdcUCP;
extern STR_FLT_DIAG idcOCP;
extern STR_FLT_DIAG vdcMotorOCP;
extern STR_FLT_DIAG vdcMotorUCP;
extern STR_FLT_DIAG idcMotorOCP;
extern STR_FLT_DIAG idcCleanOCP;
extern STR_FLT_DIAG idcServiceOCP;

extern STR_FLT_DIAG navCommOTP;
extern STR_FLT_DIAG batCommOTP;
extern STR_FLT_DIAG cleanCommOTP;



extern void system_param_init(void);





#endif


